/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package db;

import models.Supplier;
import java.util.ArrayList;

/**
 *
 * @author Dan
 */
public interface SupplierInterface {

    public boolean insertSup(Supplier sup);

    public boolean updateSup(Supplier sup);

    public ArrayList<Supplier> getAllSupplier();

    public ArrayList<Supplier> searchSupplier(String name);

    public Supplier getSupplier(int id);

    public int deleteSupplier(int id);


}
